home *** CD-ROM | disk | FTP | other *** search
- ╔rmdir <directory> [ <directory2> ... ]
- Removes one or more remote directories. If remote recycle bin is
- configured, moves directory to the bin instead of deleting it.
- examples:
- rmdir public_html
- mv <file> [ <file2> ... ] [ <directory>/ ][ <newname> ]
- Moves or renames one or more remote files. Destination directory or new
- name or both must be specified. Destination directory must end with
- slash. Operation mask can be used instead of new name.
- Filename can be replaced with wildcard to select multiple files.
- alias:
- rename
- examples:
- mv index.html public_html/
- mv index.html about.*
- mv index.html public_html/about.*
- mv public_html/index.html public_html/about.html /home/martin/*.bak
- mv *.html /home/backup/*.bak
- <chmod <mode> <file> [ <file2> ... ]
- Changes permissions of one or more remote files. Mode can be specified
- as three or four-digit octal number.
- Filename can be replaced with wildcard to select multiple files.
- examples:
- chmod 644 index.html about.html
- chmod 1700 /home/martin/public_html
- chmod 644 *.html
- mln <target> <symlink>
- Creates remote symlink.
- alias:
- symlink
- examples:
- ln /home/martin/public_html www
- Lmkdir <directory>
- Creates remote directory.
- examples:
- mkdir public_html
- îget <file> [ [ <file2> ... ] <directory>\[ <newname> ] ]
- Downloads one or more files from remote directory to local directory.
- If only one parameter is specified downloads the file to local working
- directory. If more parameters are specified, all except the last one
- specify set of files to download. The last parameter specifies target
- local directory and optionally operation mask to store file(s) under
- different name. Destination directory must end with backslash.
- Filename can be replaced with wildcard to select multiple files.
- To download more files to current working directory use '.\' as the
- last parameter.
- Use 'option' command to set transfer options.
- alias:
- recv
- effective options:
- transfer, confirm
- examples:
- get index.html
- get index.html about.html .\
- get index.html about.html d:\www\
- get public_html/index.html d:\www\about.*
- get *.html *.png d:\www\*.bak
- òput <file> [ [ <file2> ... ] <directory>/[ <newname> ] ]
- Uploads one or more files from local directory to remote directory.
- If only one parameter is specified uploads the file to remote working
- directory. If more parameters are specified, all except the last one
- specify set of files to upload. The last parameter specifies target
- remote directory and optionally operation mask to store file(s) under
- different name. Destination directory must end with slash.
- Filename can be replaced with wildcard to select multiple files.
- To upload more files to current working directory use './' as the
- last parameter.
- Use 'option' command to set transfer options.
- alias:
- send
- effective options:
- transfer, confirm
- examples:
- put index.html
- put index.html about.html ./
- put index.html about.html /home/martin/public_html/
- put d:\www\index.html about.*
- put *.html *.png /home/martin/backup/*.bak
- ▐option [ <option> [ <value> ] ]
- If no parameters are specified, lists all script options and their
- values. When one parameter is specified only, shows value of the option.
- When two parameters are specified sets value of the option.
- Initial values of some options are taken from application configuration,
- however modifing the options does not change the application
- configuration.
- options are:
- batch on/off
- Toggles batch mode (all prompts are automatically replied
- negatively). When 'on', it is recommended to set 'confirm'
- to 'off' to allow overwrites.
- Commands affected: nearly all
- confirm on/off
- Toggles confirmations (overwrite, etc.).
- Commands affected: get, put
- transfer binary/ascii/automatic
- Transfer mode: binary, ascii (text), automatic (by extension).
- Commands affected: get, put, synchronize, keepuptodate
- synchdelete on/off
- Should obsolete files be deleted during synchronisation?
- Commands affected: synchronize, keepuptodate
- aliases:
- ascii = option transfer ascii
- binary = option transfer binary
- examples:
- option
- option transfer
- option confirm off
- ¢synchronize local|remote|both [ <local directory> [ <remote directory> ] ]
- When the first parameter is 'local' synchronises local directory with
- remote one. When the first parameter is 'remote' synchronises remote
- directory with local one. When the first parameter is 'both' synchronises
- directories one against the other.
- When directories are not specified, current working directories are
- synchronized.
- Obsolete files are deleted, if option 'synchdelete' is on.
- Note: Overwrite confirmations are always off for the command.
- effective options:
- transfer, synchdelete
- examples:
- synchronize remote
- synchronize both d:\www /home/martin/public_html
- ⌡keepuptodate [ <local directory> [ <remote directory> ] ]
- Watches for changes in local directory and reflects them on remote one.
- When directories are not specified, current working directories are
- synchronized. To stop watching for changes press Ctrl-C.
- Obsolete files are deleted, if option 'synchdelete' is on.
- Note: Overwrite confirmations are always off for the command.
- effective options:
- transfer, synchdelete
- examples:
- keepuptodate
- keepuptodate d:\www /home/martin/public_html
-